package com.springmvc.demo.service;

import java.util.List;

import com.springmvc.demo.model.Role;
import com.springmvc.demo.model.User;
import com.springmvc.demo.model.UserRole;

public interface UserService {
	public User login(User usr);
	public User getUserByUserid(String userid);
	
	public String addUser(User user);
	
	public List<User> getUserList();
	
	public List<UserRole> checkUserHasRoles(String userid);
	
	public List<Role> getRoleList();
}
